package com.csun.cmny.provider.model.dto.humidistat;

import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @Auther: chisj chisj@foxmal.com
 * @Date: 2019-12-27 15:47
 * @Description:
 */
@Data
public class BindCsunHumidistatLocationDto {

    /**
     * 设备id
     */
    @NotNull(message = "{device.id.null}")
    private Long deviceId;

    /**
     * 绑定类型 0-自定义 4-life
     */
    @NotNull(message = "{csun.humidistat.bind.type.null}")
    private Integer bindType;

    /**
     * 绑定方式 PERSONAL - 个人, ENTERPRISE - 企业
     */
    private Integer bindWay;

    /**
     * 房间Id
     */
    @NotNull(message = "{csun.humidistat.bind.room.id.null}")
    private Integer roomId;

    /**
     * 位置
     */
    private String location;

}
